<template>
    <div class="count">
        <h2 v-bgColor="'yellow'">我是count组件{{count | add$}}</h2>
        
    </div>
</template>

<script>
    export default {
        name:"Count",
        data(){
            return {
                count:0,
            };
        },
    }
    
</script>
<style>
 .count{
    background-color: pink;
 }
</style>